//
//  guanyuViewController.m
//  movie
//
//  Created by 白浩洋 on 2018/4/10.
//  Copyright © 2018年 白浩洋. All rights reserved.
//

#import "guanyuViewController.h"

@interface guanyuViewController ()
@property (nonatomic,strong)UITextView *textf;
@end

@implementation guanyuViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self addCustomTitleWithTitle:@"关于"];
    if([NBATools getAbout].length>0){
        self.textf.text = [NBATools getAbout];
    }else{
        self.textf.text = @"本软件目前处于开发初期，有任何问题请使用意见反馈功能,谢谢您的支持";
    }
    
}
- (UITextView *)textf{
    if(!_textf){
        _textf = [[UITextView alloc]initWithFrame:CGRectMake(PXChange(20), 0, ScreenWidth - PXChange(40), self.view.height - 44 - iPhoneXTabHeigth)];
        _textf.backgroundColor = [UIColor whiteColor];
        _textf.editable = NO;
        _textf.textColor = [UIColor colorWithHexString:@"#333333"];
        _textf.font = [UIFont systemFontOfSize:PXChange(40)];
        [self.view addSubview:_textf];
    }
    return _textf;
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
